package net.ifilm.schedule;


import net.ifilm.service.CacheUpdService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class QuartzJob {

    /**
     * 日志对象
     */
    private static Log log = LogFactory.getLog(QuartzJob.class);

    @Autowired
    private CacheUpdService cacheUpdService;

    public void work() {
        log.info("cacheUpdService update start ...");

//        cacheUpdService.updSlideFilmList();
//        cacheUpdService.updFilmPlayNum();
//        cacheUpdService.updFilmScore();
//        cacheUpdService.updFilmLimit();
//        cacheUpdService.updFilmClear();
//        cacheUpdService.updFilmToday();
//
//        cacheUpdService.updAllFilmType();
    }

}
